﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace motelmanagement.useInterface
{
    public partial class testForm : Form
    {
        
        public testForm()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            test2 ts = new test2();
            this.Controls.Add(ts);
        }

        private void button2_Click(object sender, EventArgs e)
        {
            test ts1 = new test();
            test2 ts2 = new test2();
            this.Controls.Add(ts1);
        }
    }
}
